package me.sdevil507.org.dto;

import lombok.Data;

import java.util.Collection;
import java.util.List;
import java.util.Set;

@Data
public class OrgPermissionResult {

    private List<PermissionResult> permissionResultList;

    private PermissionResult buttonResultList;

    public OrgPermissionResult() {
    }

    public static class PermissionResult{

        public String title;

        public String name;

        public List<OrgResourceRelDto> menuList;

        public Collection<OrgResourceRelDto> buttonList;

        public PermissionResult(String title, String name, List<OrgResourceRelDto> menuList) {
            this.title = title;
            this.name = name;
            this.menuList = menuList;
        }

        public PermissionResult(Collection<OrgResourceRelDto> buttonList) {
            this.buttonList = buttonList;
        }
    }
}
